<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>SDL_gpu: GPU_InitRendererByID</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SDL_gpu
   &#160;<span id="projectnumber">0.10.0</span>
   </div>
   <div id="projectbrief">A hardware-accelerated, cross-platform 2D graphics API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="group__Initialization.html">Initialization</a></li>  </ul>
</div>
</div><!-- top -->
<div class="contents">
<table cellspacing="0" cellpadding="0" border="0">
  <tr>
   <td valign="top">
      <div class="navtab">
        <table>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_gab304b9b3ab6077b5c1803352ef35af23.html#gab304b9b3ab6077b5c1803352ef35af23">GPU_CloseCurrentRenderer</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_gaaebe0cd4586c57db28fc9b30c4d2ac05.html#gaaebe0cd4586c57db28fc9b30c4d2ac05">GPU_FeatureEnum</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_gabfa7213b5500b929f27b57f7f72514f6.html#gabfa7213b5500b929f27b57f7f72514f6">GPU_GetDefaultRendererOrder</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_ga6a86d9e3219303a0b631da1509b8764a.html#ga6a86d9e3219303a0b631da1509b8764a">GPU_GetInitWindow</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_ga1ada472883f5e5eca145314eb24863ea.html#ga1ada472883f5e5eca145314eb24863ea">GPU_GetLinkedVersion</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_ga18f761cef4052190f9f2d7e125c33609.html#ga18f761cef4052190f9f2d7e125c33609">GPU_GetPreInitFlags</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_gaacd563fac88f3429cb0df97e0a4ad529.html#gaacd563fac88f3429cb0df97e0a4ad529">GPU_GetRendererOrder</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_gae0b9f90ca177ee5bd2f9e925b2dc6032.html#gae0b9f90ca177ee5bd2f9e925b2dc6032">GPU_GetRequiredFeatures</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_ga620f08a2ca3accfc37becad1157504c5.html#ga620f08a2ca3accfc37becad1157504c5">GPU_Init</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_ga62a85a57c85e253a9dc78bf4e9eef128.html#ga62a85a57c85e253a9dc78bf4e9eef128">GPU_InitFlagEnum</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_ga86ab4e26a09cadfa16ee1e8faeaf93a1.html#ga86ab4e26a09cadfa16ee1e8faeaf93a1">GPU_InitRenderer</a></td></tr>
          <tr><td class="navtab"><a class="qindexHL" href="group__Initialization_gac9540bb6bcd76c83e2bd3faefde8eefb.html#gac9540bb6bcd76c83e2bd3faefde8eefb">GPU_InitRendererByID</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_gad6fabda62c397642de340bb2e9ca3cc5.html#gad6fabda62c397642de340bb2e9ca3cc5">GPU_IsFeatureEnabled</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_ga11c2d2df4a157d3bdb1123ed4cace49e.html#ga11c2d2df4a157d3bdb1123ed4cace49e">GPU_Quit</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_ga89c202dab9079add927782c61f158f41.html#ga89c202dab9079add927782c61f158f41">GPU_SetInitWindow</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_gab477eb052fc1314f88d24572f24f3510.html#gab477eb052fc1314f88d24572f24f3510">GPU_SetPreInitFlags</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_ga4231dc2b70cdf1111dcd8392245d509d.html#ga4231dc2b70cdf1111dcd8392245d509d">GPU_SetRendererOrder</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Initialization_ga97d836ce5734fdd097c3b44f2ec017c1.html#ga97d836ce5734fdd097c3b44f2ec017c1">GPU_SetRequiredFeatures</a></td></tr>
        </table>
      </div>
   </td>
   <td valign="top" class="mempage">
<a class="anchor" id="gac9540bb6bcd76c83e2bd3faefde8eefb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="structGPU__Target.html">GPU_Target</a>* SDLCALL GPU_InitRendererByID </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGPU__RendererID.html">GPU_RendererID</a>&#160;</td>
          <td class="paramname"><em>renderer_request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint16&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint16&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__gpu_8h_a0dfa472cfdf374c478cc497e18c7e398.html#a0dfa472cfdf374c478cc497e18c7e398">GPU_WindowFlagEnum</a>&#160;</td>
          <td class="paramname"><em>SDL_flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initializes SDL and SDL_gpu. Creates a window and the requested renderer context. By requesting a renderer via ID, you can specify the major and minor versions of an individual renderer backend. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="group__RendererSetup_ga6a2ba74f6c1ccd08517393014bf800c5.html#ga6a2ba74f6c1ccd08517393014bf800c5">GPU_MakeRendererID</a> </dd></dl>

</div>
</div>
    </td>
  </tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 11 2015 20:10:45 for SDL_gpu by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
